<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>添加/编辑会员视力档案 - Powered By ${systemConfig.systemName}</title>
<meta name="Author" content="${systemConfig.systemName} Team" />
<meta name="Copyright" content="${systemConfig.systemName}" />
<link rel="icon" href="favicon.ico" type="image/x-icon" />
<#include "/WEB-INF/template/common/include.ftl">
<link href="${base}/template/admin/css/input.css" rel="stylesheet" type="text/css" />
<#if !id??>
	<#assign isAdd = true />
<#else>
	<#assign isEdit = true />
</#if>
</head>
<body class="input">
	<div class="body">
		<div class="inputBar">
			<h1><span class="icon">&nbsp;</span><#if isAdd??>添加会员视力档案<#else>编辑会员视力档案</#if></h1>
		</div>
		<form id="inputForm" class="validate" action="<#if isAdd??>member_shili!save.action<#else>member_shili!update.action</#if>" method="post">
			<table class="inputTable">
				<input type="hidden" name="id" value="${id}" />
				<#if isAdd??><input type="hidden" name="memberId" value="${memberId}" /><#else><input type="hidden" name="memberId" value="${memberShili.member.id}" /></#if>
				
				<tr>
					<th>
						排号:
					</th>
					<td>
						<input type="text" name="memberShili.paihao"  value="${(memberShili.paihao)!}" />
					</td>
					<th>
						手机号:
					</th>
					<td>
						<input type="text" name="memberShili.shouji"  value="${(memberShili.shouji)!}" />
					</td>
					<th>
						姓名:
					</th>
					<td>
						<input type="text" name="memberShili.xingming"  value="${(memberShili.xingming)!}" />
					</td>
					<th>
						验光单号:
					</th>
					<td>
						<input type="text" name="memberShili.yanguangNo"  value="${(memberShili.yanguangNo)!}" />
					</td>
				</tr>
				</table>
				<table width='100%'>
				<tr>
					<th width='9%'>
						&nbsp;
					</th>
					<th width='9%'> 
						球镜
						SPH
					</th>
					<th width='9%'> 
						柱镜
						CYL
					</th>
					<th width='9%'> 
						轴位
					</th>
					<th width='9%'> 
						裸眼视力
					</th>
					<th width='9%'> 
						矫正视力
					</th>
					<th width='9%'> 
						主导眼
					</th>
					
					<th width='9%'> 
						棱镜
					</th>
					
					<th width='9%'> 
						基底
					</th>
					
					<th width='9%'> 
						瞳高
					</th>
					<th width='9%'> 
						下加光
					</th>
					
				</tr>
				
				<tr>
					<th>
						R
					</th>
					<td>
						<input type="text" name="memberShili.rsph" size="8"  value="${(memberShili.rsph)!}" />
					</td>
					<td>
						<input type="text" name="memberShili.rcyl"  size="8"   value="${(memberShili.rcyl)!}" />
					</td>
					<td>
						<input type="text" name="memberShili.rax"  size="8"  value="${(memberShili.rax)!}" />
					</td>
					<td>
						<input type="text" name="memberShili.rlysl"  size="8"  value="${(memberShili.rlysl)!}" />
					</td>
					<td>
						<input type="text" name="memberShili.rjzsl"  size="8"  value="${(memberShili.rjzsl)!}" />
					</td>
					<td>
						<input type="text" name="memberShili.rde"  size="8"  value="${(memberShili.rde)!}" />
					</td>
					
					<td>
						<input type="text" name="memberShili.rp"  size="8"  value="${(memberShili.rp)!}" />
					</td>
					
					<td>
						<input type="text" name="memberShili.rbase"  size="8"  value="${(memberShili.rbase)!}" />
					</td>
					
					<td>
						<input type="text" name="memberShili.rph"   size="8" value="${(memberShili.rph)!}" />
					</td>
					<td>
						<input type="text" name="memberShili.radd"  size="8"  value="${(memberShili.radd)!}" />
					</td>
					
				</tr>
				
				<tr>
					<th>
						L
					</th>
					<td>
						<input type="text" name="memberShili.lsph" size="8"  value="${(memberShili.lsph)!}" />
					</td>
					<td>
						<input type="text" name="memberShili.lcyl"  size="8"   value="${(memberShili.lcyl)!}" />
					</td>
					<td>
						<input type="text" name="memberShili.lax"  size="8"  value="${(memberShili.lax)!}" />
					</td>
					<td>
						<input type="text" name="memberShili.llysl"  size="8"  value="${(memberShili.llysl)!}" />
					</td>
					<td>
						<input type="text" name="memberShili.ljzsl"  size="8"  value="${(memberShili.ljzsl)!}" />
					</td>
					<td>
						<input type="text" name="memberShili.lde"  size="8"  value="${(memberShili.lde)!}" />
					</td>
					
					<td>
						<input type="text" name="memberShili.lp"  size="8"  value="${(memberShili.lp)!}" />
					</td>
					
					<td>
						<input type="text" name="memberShili.lbase"  size="8"  value="${(memberShili.lbase)!}" />
					</td>
					
					<td>
						<input type="text" name="memberShili.lph"   size="8" value="${(memberShili.lph)!}" />
					</td>
					<td>
						<input type="text" name="memberShili.ladd"  size="8"  value="${(memberShili.ladd)!}" />
					</td>
					
				</tr>
				
				
				</table>
				<table class="inputTable">
				<tr>
					
					<th>
						瞳距:
					</th>
					<td>
						<input type="text" name="memberShili.tongju"  value="${(memberShili.tongju)!}" />
					</td>
					<th>
						验光师:
					</th>
					<td>
						<input type="text" name="memberShili.shiguangshi"  value="${(memberShili.shiguangshi)!}" />
					</td>
					<th>
						顾客签名:
					</th>
					<td>
						<input type="text" name="memberShili.customerName"  value="${(memberShili.customerName)!}" />
					</td>
					
					
				</tr>
				</table>
			<div class="buttonArea">
				<input type="submit" class="formButton" value="确  定" hidefocus="true" />&nbsp;&nbsp;&nbsp;&nbsp;
				<input type="button" class="formButton" onclick="window.history.back(); return false;" value="返  回" hidefocus="true" />
			</div>
		</form>
	</div>
</body>
</html>